import { createStore } from 'vuex'
// store modules:
import exmaple from './modules/example'
import user from './modules/user'

// TODO: auto import store module

const store = createStore({
  state() {
    return {
      // count: 0
    }
  },
  mutations: {
    // increment(state) {
    //   state.count++
    // }
  },
  actions: {

  },
  getters: {

  },
  modules: {
    exmaple,
    user
  }
})

export default store